#ifndef GETAVATARSTHREAD_H
#define GETAVATARSTHREAD_H

#include "0-data/avatar.h"

#include <QThread>

class GetAvatarsThread : public QThread
{
    Q_OBJECT
public:
    GetAvatarsThread(QObject *parent = nullptr);

public:
    void GetResult(QList<Avatar> &list);

private:
    void run() override;

private:
    QList<Avatar> result_;
};

#endif // GETAVATARSTHREAD_H
